package com.qidian.mes.dv.service.Impl;

import com.qidian.mes.dv.mapper.WorkshopMapper;
import com.qidian.mes.dv.service.WorkshopService;
import com.qidian.mes.util.pojo.QdResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Author 陆雯城
 * @Description
 * @Time 2024-04-14 14:16
 */
@Transactional
@Service
public class WorkshopServiceImpl implements WorkshopService {
    @Autowired
    private WorkshopMapper workshopMapper;
    @Override
    public QdResult<List<String>> queryWorkshopNames() {
        return QdResult.success(workshopMapper.selectWorkshopNames());
    }
}
